//
//  YMSessionRequest.h
//  YueYue
//
//  Created by LiuYu on 2024/10/24.
//

#import "HLBaseRequest.h"

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSUInteger, YMSessionRequestType) {
    YMSessionRequestTypeAvailableChartCards,    ///< 获取剩余可用聊天卡
    YMSessionRequestTypeSendAble,   ///< 是否可以发送消息
};

@interface YMAvailableChartCardsResult : NSObject
@property (assign,  nonatomic) NSInteger chatCardRemind;
/// 收费方式0:越豆1：聊天卡
@property (copy,    nonatomic) NSString *consumeType;
/// 女生聊天收费价格
@property (copy,    nonatomic) NSString *femaleChatPrice;
/// 是否收费0：不收 1：收费
@property (assign,  nonatomic) NSInteger isChatFee;
/// 收费弹窗内容 0：不弹窗 1：弹窗
@property (assign,  nonatomic) NSInteger feeDialog;
@end

@interface YMSessionRequest : HLBaseRequest
- (instancetype)initWithType:(YMSessionRequestType)type params:(NSDictionary *)params;
- (YMAvailableChartCardsResult *)objectResult;
@end

NS_ASSUME_NONNULL_END
